package com.ceadeal.admin.quartz;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 功能描述: 定时任务测试
 *
 * 作者: Yzw
 * 日期: 2017-03-02 16:33:27
 */
@Component
public class TestJob {

    private static final Logger log = LoggerFactory.getLogger(TestJob.class);

    /**
     * 在线Corn表达式生成器：http://cron.qqe2.com/
     */
//    @Scheduled(cron = "0 0 2 1/1 * ?")
    public void execTask() {

        log.info("exec task ...");
    }

}
